home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c
- Subject: Re: Problem with program
- Date: Fri, 19 Jan 1996 03:56:30 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4dmq6l$jov@oxy.rust.net>
- References: <4dkr5u$ro7@hasle.sn.no>
- NNTP-Posting-Host: liv-13.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- elvemo@sn.no (Rune Elvemo) wrote:
-
- >Anyone who can figure out what is wrong with this program?
-
- >I tried to compile it, but my compiler wouldn't.....
-
- >Ex: It said that the prototype needed a semicolon, but it
- >don't.........
-
- >/* Loadfile.c - loads a txt file, and shows it
- >**
- >**
- >*/
-
- >#include <stdio.h>
-
- >struct Text
- >{
- >char *str;
- >struct Text *next;
- >}
-
- > Stuff Deleted...
-
- The error is misleading. You need a semicolon after the closing brace
- of the struct Text declaration.
-
- Earl
-
-
-
-